#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>

#include "toolslistmodel.h"

class QListView;
class QGraphicsView;
class QGraphicsScene;
class QStandardItemModel;

class MainWindow : public QMainWindow
{
    Q_OBJECT

private:

    QListView *toolsList;
    QGraphicsView *view;
    QGraphicsScene *scene;
    ToolsListModel *toolsListModel;
    PaintTool* currentTool;

private slots:
    void recvClick(const QModelIndex& index);

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    PaintTool* getSelectedTool();

signals:
    void toolSelected(PaintTool *tool);

protected:
    void createDockWindows();
    void createMainWidget();

};

#endif // MAINWINDOW_H
